package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the HIS_TAKEDRUG database table.
 * 
 */
@Entity
@Table(name="HIS_TAKEDRUG")
@NamedQuery(name="HisTakedrug.findAll", query="SELECT h FROM HisTakedrug h")
public class HisTakedrug implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="QY_NO")
	private long qyNo;

	@Column(name="QY_STATUS")
	private String qyStatus;

	@Temporal(TemporalType.DATE)
	@Column(name="QY_TIME")
	private Date qyTime;

	@Column(name="SS_NO")
	private BigDecimal ssNo;

	@Column(name="SSYP_NO")
	private BigDecimal ssypNo;

	@Column(name="YG_NO")
	private BigDecimal ygNo;

	public HisTakedrug() {
	}

	public long getQyNo() {
		return this.qyNo;
	}

	public void setQyNo(long qyNo) {
		this.qyNo = qyNo;
	}

	public String getQyStatus() {
		return this.qyStatus;
	}

	public void setQyStatus(String qyStatus) {
		this.qyStatus = qyStatus;
	}

	public Date getQyTime() {
		return this.qyTime;
	}

	public void setQyTime(Date qyTime) {
		this.qyTime = qyTime;
	}

	public BigDecimal getSsNo() {
		return this.ssNo;
	}

	public void setSsNo(BigDecimal ssNo) {
		this.ssNo = ssNo;
	}

	public BigDecimal getSsypNo() {
		return this.ssypNo;
	}

	public void setSsypNo(BigDecimal ssypNo) {
		this.ssypNo = ssypNo;
	}

	public BigDecimal getYgNo() {
		return this.ygNo;
	}

	public void setYgNo(BigDecimal ygNo) {
		this.ygNo = ygNo;
	}

}